package com.zhiyou.app.shop.website.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.zhiyou.app.shop.common.util.Page;
import com.zhiyou.app.shop.website.dao.pojo.ActivityApply;
import com.zhiyou.app.shop.website.dao.pojo.LoveFound;
import com.zhiyou.app.shop.website.dao.pojo.MoneyDeal;


public interface IPlayService{

	void doExchange(String userId, BigDecimal amount, String type);
	
	void getMoneyDeal(Page page,MoneyDeal moneyDeal);
	
	void doConvert(String userId, String toUserId, BigDecimal amount);
	
	void saveApplyActivi(ActivityApply apply);
	
	void saveLoveFound(LoveFound loveFound);
	
	void doStockTrade(String userId,  Integer stockQuantity, BigDecimal price, String type);
	
	void findTransfer(Page page, String userAccount, String type);
	
	void findApplyActivity(Page page, String userAccount,String status);
	
	ActivityApply findById(String id);
	
	void updateApply(ActivityApply apply);
	
	void doVvconvert(String userId, String toUserId, BigDecimal amount, String type);
	
	
	///互转信息列表 分页
	List findTransfer(String userAccount,int startNum,int pagesize);
	int findTransferCnt(String userAccount);
}
